"""last_school_project URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import path
from ModalProject import views

urlpatterns = [
    # path('admin/', admin.site.urls),
    path('', views.index),
    path("test", views.vue_test),
    path("user/login", views.login_query),
    path("user/listMenu", views.login_listMenu),
    path("user/getall", views.grop_getall),
    path("user/person", views.grop_person),
    path("user/average", views.grop_average),
    path("heart/gender", views.heart_gender),
    path("heart/age", views.heart_age),
    path("heart/height", views.heart_height),
    path("heart/weight", views.heart_weight),
    path("heart/relation", views.heart_relation),
    path("heart/bmi", views.heart_bmi),
    path("diabetes/age", views.diabetes_age),
    path("diabetes/att", views.diabetes_att),
    path("access/day", views.getDayAccess),
    path("access/all", views.getAllAccess),
    path("account/all", views.accountGetAllNum),
    path("data/all", views.getAllDataNum),
    path("facility/all", views.gropGetFacilityAll),
]
